var contextroot="/putong";
function sendRequest(oo) {
	 
	$.ajax({
		type : 'post',
		contentType : "application/json; charset=utf-8",
		dataType : 'json',
		data : oo.params,
		url : contextroot+oo.url,
		cache : false,
		success : function(data) {
			oo.success(data);
		},
		error : function(msg) {
			alert("Error" + JSON.stringify(msg));
		}
	});
}